<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>成绩管理系统-登录</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/login.css">
    <script src="js/login.js"></script>
</head>

<body>
<p>成绩管理系统</p>
<form action="action/login_OK.php" method="post" name="login" onsubmit="return validation()">
    <label>用户名：<input type="text" name="userName" maxlength="6" minlength="6"></label><br>
    <label>密&nbsp;&nbsp;&nbsp;码：<input type="password" name="password" maxlength="4" minlength="4"></label><br>
    <label>验证码：<input type="text" name="ver" class="announ" maxlength="4" minlength="4">
        <img id="img" src="util/CreateImg.php" alt="验证码" width=""
             onclick="this.src='util/CreateImg.php?'+Math.random()">
        <a href="#" onclick="document.getElementById('img').src='util/CreateImg.php?'+Math.random()">看不清？换一张</a></label><br>
    <label><input type="radio" name="account_type" value="0" checked>&nbsp;&nbsp;学生
        <input type="radio" name="account_type" value="2">&nbsp;&nbsp;教师
        <input type="radio" name="account_type" value="1">管理员<br></label>
    <button type="submit" class="btn btn-default">登录</button>
</form>

</body>

</html>